package com.example.yyg.test.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: 冰岩
 * @Date: 2023/07/30
 * @Description:
 */
public class UserDAO {
    private static Map<String, String> userInfo = new HashMap();
    static {
        userInfo.put("yyg","youyuangang");
    }
    public String getUserInfo(String nickName){
        return userInfo.getOrDefault(nickName, "unknow");
    }
}
